WcGetnet\WooCommerce\GateWays\WcGetnet_CreditCard S

Total Complexity 49
Dependencies 9
Dependents 1
Total lines 481
Lines of code 355
Logical lines of code 171
Comment lines 51
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
process_payment()
A
40 8 57
payment_fields()
S
56 5 17
process_refund()
S
51 4 24
getCreditData()
S
54 4 20
processRefundResponse()
S
57 4 18
getEnvironmentMessage()
S
57 4 17
__construct()
S
48 2 32
validate_fields()
S
60 3 12
handleHeader()
S
52 1 36
format_amout()
S
67 3 7
handleContent()
S
58 1 28
generate_installments_by_flag_html()
S
57 1 19
generate_creditcard_title_html()
S
57 1 19
init_form_fields()
S
65 2 10
handleCustomComponentGenerate()
S
59 1 14
set_order_id()
S
74 1 5
getAntifraudData()
S
65 1 8
is_min_value_from_installments()
S
79 1 3
admin_options()
S
75 1 5
refundPayment()
S
75 1 4